Xbasic

A5.GET_PATH Function

Syntax

Path as C = .Get_Path()

Description

Returns the path of the current workspace (.adb file).

The A5.GET_PATH() method returns the path of the currently open .ADB workspace file. It is a useful function when you want to make an application portable between computers.

You have to add the backslash at the end of the path.

Example

? A5.GET_PATH()
= "C:\workspace\Alphasports"
? A5.GET_PATH()+ "\\"
= "C:\workspace\Alphasports\"

See Also